package cn.iocoder.yudao.module.system.controller.admin.subjectscore.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 科目成绩详情分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SubjectScoreDetailPageReqVO extends PageParam {

    @Schema(description = "考试ID", example = "1024")
    private Long examId;

    @Schema(description = "学生ID", example = "2048")
    private Long studentId;

    @Schema(description = "科目名称", example = "物理")
    private String subjectName;

    @Schema(description = "等级", example = "A")
    private String gradeLevel;

    @Schema(description = "是否为选考科目", example = "true")
    private Boolean isSelected;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}